how to change text on hover css

46

/*HTML*/
<button><span>3 replies</span></button>

/*CSS*/
button {width:6em}
button:hover span {display:none}
button:hover:before {content:"Reply!"}

Comments

Submit
0 Comments